﻿using UnityEngine;
using System.Collections;

public class BulletMove : MonoBehaviour {

    public int chooseMoveBullet{get;set;}
    public float Damage { get; set; }

    private float speed;

    private float temp;
    public void MoveForward(float Speed)
    {
        speed = Speed;
    }
    void FixedUpdate()
    {
        switch (chooseMoveBullet)
        {
            case 1:
                rigidbody.velocity = transform.right * speed;
                break;
            case 2:
                
                rigidbody.velocity = new Vector3(1,1) * speed;
                break;
        }
    }


	
	
	
}
